package com.daniel.service;

import java.util.List;

import com.daniel.model.PageModel;
import com.daniel.model.User;

public interface UserService {
	public void addUser(User user);

	public void deleteUser(int userId);

	public void updateUser(User user);

	public List<User> getAllUsers();

	public User getUserById(int userId);

	public int getUserCount();

	public List<User> getCertainUsers(int offset, int length);

	public PageModel queryForPage(int page, int pageSize);
}
